<template>
    <CompanyComponent v-model="data.company"/>
</template>

<script>


const EVENT = "onChange"
const DATA = "data"
import {Application} from "../../../Entities/Application"
import CompanyComponent from "../../Company"

export default {
    components: {
        CompanyComponent
    },
    model: {
        prop: DATA,
        event: EVENT
    },
    props: {
        data: {
            required: true,
            type: Object,
            validator: Application.isValid
        }
    },
    data(){
        return {

        }
    }    
}
</script>

<style lang="scss" scoped>

</style>
